home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2002 March
/
PCWorld_2002-03_cd.bin
/
Software
/
TemaCD
/
xteq
/
setup.exe
/
{app}
/
plugins
/
XQ IE Outlook Express 6.xpl
< prev
next >
Wrap
Text File
|
2001-05-14
|
2KB
|
87 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="7"
"COUNT"="3"
"UIPATH"="Internet\Outlook Express\Appearance"
"NAME"="Message Attachment Preview"
"LANGUAGE"="VBScript"
"VERSION"="1.10"
"TEXT 1"="Enable slide show of attachments"
"TEXT 2"="Disable slide show of attachments"
"TEXT 3"="Disable preview of attachments"
"DESCRIPTION 1"="These options allow you to control how OE will display attachments."
"DESCRIPTION 2"=""
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 2"="tip from "Jeffrey Stevens" <jstevens@stny.rr.com>""
sValPath=""
'user to find OE user id...
sP2="HKCU\Identities\Last User ID"
sP1="HKCU\Software\Microsoft\Outlook Express\"
sSS="Automatically Inline Images"
'sPath="HKCU\Software\Microsoft\Outlook Express\"
'sNOS="NoSplash"
'sHOT="Disable Hotmail"
'sPath2="HKCU\Software\Microsoft\Internet Mail and News\"
'sCOL="ColorCycle"
'sV4="HKLM\SOFTWARE\Microsoft\Outlook Express\No Modify Accts" 'DW (1 = enable restriction)
Sub Plugin_Initialize
'OK, let's have a look if we are running IE5...
s=RegReadValue(sP2)
if IsEmpty(s)=false then
'OK - we have a value - check if we can find OE
sValPath="HKCU\Identities\" & s & "\Software\Microsoft\Outlook Express\5.0\"
If RegPathExists(sValPath) then
'OE5 !
sValPath=sValPath '& sValue
else
sValPath=sP1 '& sValue
end if
else
sValPath=sP1 '& sValue
end if
i=RegReadValue(sValPath & sSS)
if i=2 then
Call SetUIElement(1,True)
end if
if i=1 then
Call SetUIElement(2,True)
end if
if i=0 or IsEmpty(i) then
Call SetUIElement(3,True)
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
if GetUIElement(1)=true then
i=2
end if
if GetUIElement(2)=true then
i=1
end if
if GetUIElement(3)=true then
i=0
end if
Call RegWriteValue(sValPath & sSS,i,2)
End Sub
Sub Plugin_Terminate
End Sub